<?php

defined('SYSPATH') or die('Access error!');

class Core_Log_StdErr extends Log_Writer
{

    public function write(array $messages)
    {
        $format = 'time --- type: body';

        foreach ($messages as $message)
        {
            fwrite(STDERR, PHP_EOL . strtr($format, $message));
        }
    }

}
